package com.cloud.tio.tiocloud.models.tio;

import lombok.Data;

public class TioBody {
    @Data
    class Text {
        private String msg;
    }

    @Data
    class Image {
        private String name;
        private String md5;
        private String url;
        private String ext;
        private int w;
        private int h;
        private long size;
    }

    @Data
    class Video {
        private int dur;

        private String md5;
        private String url;
        private String ext;

        private int w;
        private int h;
        private long size;
    }

    @Data
    class Location {
        private String title;
        private float lng;
        private float lat;
    }

    @Data
    class File {
        private String name;
        private String md5;
        private String url;
        private String ext;
        private long size;
    }
}
